package com.atguigu.gmall.product;


import com.atguigu.gmall.common.config.minio.annotation.EnableMinio;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * SPH_Demo01
 * 2022/10/31 23 01
 */
@SpringCloudApplication
@EnableSwagger2
//@Import ({AppMinioProperties.class, AppMinioConfiguration.class})
//com.atguigu.gmall.common.config.minio.AppMinioConfiguration
//com.atguigu.gmall.product
//@ComponentScan({"com.atguigu.gmall.product","com.atguigu.gmall.common.config.minio"})
@EnableMinio
@MapperScan (basePackages = "com/atguigu/gmall/product/mapper")
public class ProductApplication {
    public static void main (String[] args) {
        SpringApplication.run (ProductApplication.class,args);
    }
}
